package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;


@Data
@TableName("activity_item")
public class ActivityItem extends Model<ActivityItem> {
    /**
      * 主键
      */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
      * 项目名称
      */
    private String name;


    /**
      * 费用
      */
    private Integer fee;

    /**
      * 活动id
      */
    private Long activityId;

    /**
      * 活动名称
      */
    private String activity;
    @TableField(exist = false)
    private Integer count;

}
